﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ProductionbyIsPass.aspx.cs" Inherits="StatisticData_ProductionStatistic_ProductionbyIsPass" Title="按通过情况统计产量" %>

<%@ Register Assembly="ZedGraph.Web" Namespace="ZedGraph.Web" TagPrefix="cc2" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div>
    <br />
    <div style="float:left;clear:both; width: 894px; height: 30px;"> 
        <asp:Panel ID="Panel1" runat="server">
                    起始时间：
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="TextBox1">
                    </asp:CalendarExtender>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 终止时间：
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    <asp:CalendarExtender ID="TextBox2_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="TextBox2">
                    </asp:CalendarExtender>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               <asp:Button ID="Button1" runat="server" Text="查 询" onclick="Button1_Click" 
                        Width="64px" />
        </asp:Panel>     
    <br />
    </div> 
    <div style="clear:both ">
        <br />
    <asp:Label ID="Label1" runat="server" Text="测试产品通过情况统计："></asp:Label>&nbsp;<table style="width: 810px; height: 131px">
        <tr>
            <td style="width: 164px; vertical-align: top;">
                <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
        CellSpacing="1" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging" Width="343px">
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <Columns>
            <asp:BoundField DataField="IsPass" HeaderText="是否通过" />
            <asp:BoundField DataField="Quantity" HeaderText="合格腔体数" />
            <asp:BoundField DataField="Total" HeaderText="测试次数" />
        </Columns>
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
    </asp:GridView>
            </td>
            <td style="width: 353px; vertical-align: top;">
                <cc2:zedgraphweb id="ZedGraphWeb1" runat="server" height="375" onrendergraph="ZedGraphWeb1_RenderGraph"
                    width="600" Visible="False">
<XAxis AxisColor="Black" Cross="0" IsTicsBetweenLabels="True" IsZeroLine="False" IsOmitMag="False" IsUseTenPower="False" IsShowTitle="True" MinSpace="0" IsVisible="True" Title="" IsPreventLabelOverlap="True" CrossAuto="True" Type="Linear">
<FontSpec Size="14" Angle="0" IsUnderline="False" Family="Arial" IsBold="True" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>

<MinorGrid Color="Black" IsVisible="False" DashOn="1" DashOff="5" PenWidth="1"></MinorGrid>

<MinorTic IsOutside="True" IsOpposite="True" Size="5" Color="Black" IsInside="True" PenWidth="1"></MinorTic>

<MajorTic IsOutside="True" IsOpposite="True" Size="5" Color="Black" IsInside="True" PenWidth="1"></MajorTic>

<Scale MinGrace="0.1" MaxGrace="0.1" MajorStepAuto="True" MinorUnit="Day" MinorStep="1" Min="0" Max="0" Mag="0" FormatAuto="True" MaxAuto="True" IsReverse="False" Format="g" MinAuto="True" MagAuto="True" Align="Center" MajorUnit="Day" MinorStepAuto="True" MajorStep="1">
<FontSpec Size="14" Angle="0" IsUnderline="False" Family="Arial" IsBold="False" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>
</Scale>

<MajorGrid Color="Black" IsVisible="False" DashOn="1" DashOff="5" PenWidth="1"></MajorGrid>
</XAxis>

<Y2Axis AxisColor="Black" Cross="0" IsTicsBetweenLabels="True" IsZeroLine="True" IsOmitMag="False" IsUseTenPower="False" IsShowTitle="True" MinSpace="0" IsVisible="False" Title="" IsPreventLabelOverlap="True" CrossAuto="True" Type="Linear">
<FontSpec Size="14" Angle="0" IsUnderline="False" Family="Arial" IsBold="True" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>

<MinorGrid Color="Black" IsVisible="False" DashOn="1" DashOff="5" PenWidth="1"></MinorGrid>

<MinorTic IsOutside="True" IsOpposite="True" Size="5" Color="Black" IsInside="True" PenWidth="1"></MinorTic>

<MajorTic IsOutside="True" IsOpposite="True" Size="5" Color="Black" IsInside="True" PenWidth="1"></MajorTic>

<Scale MinGrace="0.1" MaxGrace="0.1" MajorStepAuto="True" MinorUnit="Day" MinorStep="1" Min="0" Max="0" Mag="0" FormatAuto="True" MaxAuto="True" IsReverse="False" Format="g" MinAuto="True" MagAuto="True" Align="Center" MajorUnit="Day" MinorStepAuto="True" MajorStep="1">
<FontSpec Size="14" Angle="-90" IsUnderline="False" Family="Arial" IsBold="False" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>
</Scale>

<MajorGrid Color="Black" IsVisible="False" DashOn="1" DashOff="5" PenWidth="1"></MajorGrid>
</Y2Axis>

<MasterPaneBorder Color="Black" IsVisible="True" InflateFactor="0" Width="1"></MasterPaneBorder>

<MasterPaneFill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="Solid" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></MasterPaneFill>

<PaneBorder Color="Black" IsVisible="True" InflateFactor="0" Width="1"></PaneBorder>

<YAxis AxisColor="Black" Cross="0" IsTicsBetweenLabels="True" IsZeroLine="True" IsOmitMag="False" IsUseTenPower="False" IsShowTitle="True" MinSpace="0" IsVisible="True" Title="" IsPreventLabelOverlap="True" CrossAuto="True" Type="Linear">
<FontSpec Size="14" Angle="-180" IsUnderline="False" Family="Arial" IsBold="True" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>

<MinorGrid Color="Black" IsVisible="False" DashOn="1" DashOff="5" PenWidth="1"></MinorGrid>

<MinorTic IsOutside="True" IsOpposite="True" Size="5" Color="Black" IsInside="True" PenWidth="1"></MinorTic>

<MajorTic IsOutside="True" IsOpposite="True" Size="5" Color="Black" IsInside="True" PenWidth="1"></MajorTic>

<Scale MinGrace="0.1" MaxGrace="0.1" MajorStepAuto="True" MinorUnit="Day" MinorStep="1" Min="0" Max="0" Mag="0" FormatAuto="True" MaxAuto="True" IsReverse="False" Format="g" MinAuto="True" MagAuto="True" Align="Center" MajorUnit="Day" MinorStepAuto="True" MajorStep="1">
<FontSpec Size="14" Angle="90" IsUnderline="False" Family="Arial" IsBold="False" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>
</Scale>

<MajorGrid Color="Black" IsVisible="False" DashOn="1" DashOff="5" PenWidth="1"></MajorGrid>
</YAxis>

<PaneFill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="Solid" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></PaneFill>

<ChartFill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="Brush" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></ChartFill>

<ChartBorder Color="Black" IsVisible="True" InflateFactor="0" Width="1"></ChartBorder>

<FontSpec Size="16" Angle="0" IsUnderline="False" Family="Arial" IsBold="True" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="None" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>

<Margins Top="10" Left="10" Bottom="10" Right="10"></Margins>

<Legend IsReverse="False" IsHStack="True" IsVisible="True" Position="Top">
<Location AlignV="Center" CoordinateFrame="ChartFraction" X="0" Height="0" Y="0" Width="0" AlignH="Left">
<TopLeft X="0" Y="0"></TopLeft>

<BottomRight X="0" Y="0"></BottomRight>
</Location>

<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="Brush" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="True" InflateFactor="0" Width="1"></Border>

<FontSpec Size="12" Angle="0" IsUnderline="False" Family="Arial" IsBold="False" StringAlignment="Center" FontColor="Black" IsItalic="False">
<Fill AlignV="Center" Color="White" IsVisible="True" ColorOpacity="100" Type="Solid" RangeMin="0" AlignH="Center" IsScaled="True" RangeMax="0"></Fill>

<Border Color="Black" IsVisible="False" InflateFactor="0" Width="1"></Border>
</FontSpec>
</Legend>
</cc2:zedgraphweb>
            </td>
        </tr>
    </table>
    </div>
    &nbsp;&nbsp;
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    </div>
    </ContentTemplate> 
    </asp:UpdatePanel> 
</asp:Content>

